/**
 * Created by Administrator on 2017/4/26.
 */
import axios from 'axios'
import {fetch} from 'api/fetch'
export const callCurrentCity = (number) => {
  return fetch({
    url: `/v1/cities/${number}`,
    method: 'get'
  })
}
export const callSearchPlace = (cityid, value) => {
  return fetch({
    url: '/v1/pois',
    method: 'get',
    params: {
      type: 'search',
      city_id: cityid,
      keyword: value
    }
  })
}














